﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace UniMana.Utils.Controls
{
    public class bds : BindingSource
    {
        public bds()
        {

        }
        public override object AddNew()
        {
            var nobject = base.AddNew();
            base.EndEdit();
            return nobject;
        }
        public void DeleteCurrent()
        {
            if (base.Count > 0) base.RemoveCurrent();
        }
    }
}
